package so.library;

import ivan.bookKeeper.R;
import domain.Library;
import android.content.Context;
import android.database.Cursor;
import so.GeneralSystemOperation;

public class ReturnAllLibraries extends GeneralSystemOperation {

	public ReturnAllLibraries(Context context) {
		super(context);
	}

	@Override
	protected Object doInBackground(Object... params) {
		Library library = (Library) params[0];
		Cursor cursor = dbHandler.fetchAll(library);
		toastMessage = context.getString(R.string.toastMessage_success_return)
				+ context.getString(R.string.library_multilple_text);
		return cursor;
	}

}
